package com.service.business.otc.controller.common;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
@Data
public class OrderCommon {
    // 场外交易订单号
    private String otcNo;

    // 会员id
    private Integer memberId;

    // 售出(买入)数量
    @NotNull(message = "args_empty_otc_buy_num")
    private BigDecimal otcNum;

    // 售出(买入)单价
    @NotNull(message = "args_empty_otc_price")
    private BigDecimal otcPrice;

    // 售出(买入)货币id
    @NotNull(message = "args_empty_otc_coin_id")
    private Integer coinsId;

    // 售出(买入)货币名称
    private String coinsName;

    // 交易货币id
    private Integer tradeCoinsId;

    // 交易货币名称
    private String tradeCoinsName;

    private BigDecimal otcResidueNum;
}
